export default function createContainer(): Element {
	const portaId = 'notifyContainer'

	let element = document.querySelector(`#${portaId}`)

	if (element) {
		return element
	}

	element = document.createElement('div')
	element.setAttribute('id', portaId)
	element.className = 'creat-container'
	document.body.appendChild(element)
	return element
}
